package com.zhz.mall.portal.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description: redis配置
 * @motto: 代码源于生活，高于生活艺术
 * @author: zhouhengzhe
 * @date: 2023/1/13 11:28
 * @since 1.0
 **/
@Data
@Component
@ConfigurationProperties(prefix = "spring.redis")
public class RedisConfigProperties {

    private String host;

    private String port;

    private String password;

}
